package com.attendance.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * 角色的菜单
 *
 * @author 今朝
 * @date 2021/03/17
 */
@Component
@TableName("t_role_menu")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleMenu {
    @TableId(type = IdType.INPUT)
    private Long roleId;
    private Long menuId;
}
